package com.duobaoyu.dby.supply.biz.producer.message;

import com.duobaoyu.dby.supply.common.mq.remote.message.base.BaseMessage;
import lombok.*;
import lombok.experimental.SuperBuilder;

import java.util.List;

/**
 * 大额订单扩展字段补偿消息
 *
 * @author fengshaoyu
 * @version 1.0.0
 * @date 2023/9/28 9:10
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class OrderExtendSyncMessage extends BaseMessage {

	private static final long serialVersionUID = 5161338546473639816L;

	private List<OrderExtendSync> orderExtendSyncList;

	@Data
	@SuperBuilder
	@NoArgsConstructor
	@AllArgsConstructor
	@ToString(callSuper = true)
	public static class OrderExtendSync{
		/**
		 * 影响订单
		 */
		private String orderSn;
		/**
		 * 渠道枚举
		 */
		private String channelCode;
		/**
		 * 充值账号
		 */
		private String rechargeAccount;
	}

}
